Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Expression] add project/ramp_color_object functions #58578

Merged
merged 5 commits into from
Oct 1, 2024

Conversation

troopa81
Copy link
Contributor

@troopa81 troopa81 commented Sep 4, 2024

Those functions contrary to project/ramp_color doesn't return a string representation so there is no RGB conversion involved. This way we can use CMYK colors.

@nyalldawson @nirvn I failed to come up with a better name, and I really do think that we need another set of functions behaving differently that the old ones. Returning an object only on CMYK color seems hazardous.

Funded by Bordeaux Metropole

@troopa81 troopa81 added Feature Expressions Related to the QGIS expression engine or specific expression functions labels Sep 4, 2024
@github-actions github-actions bot added this to the 3.40.0 milestone Sep 4, 2024
Copy link

github-actions bot commented Sep 4, 2024

🪟 Windows builds ready!

Windows builds of this PR are available for testing here. Debug symbols for this build are available here.

(Built from commit 6d4bc26)

Which contrary to ramp_color doesn't return a string
representation there is no rgb conversion involved
Which contrary to project_color doesn't return a string
representation there is no rgb conversion involved
@troopa81 troopa81 force-pushed the feat_project_ramp_color_object branch from e94e6bd to 842affb Compare September 5, 2024 07:07
@troopa81 troopa81 force-pushed the feat_project_ramp_color_object branch from 842affb to 6d4bc26 Compare September 5, 2024 12:14
@nyalldawson nyalldawson added the Freeze Exempt Feature Freeze exemption granted label Sep 13, 2024
@zacharlie zacharlie added the Changelog Items that are queued to appear in the visual changelog - remove after harvesting label Sep 24, 2024
@qgis-bot
Copy link
Collaborator

@troopa81

This pull request has been tagged for the changelog.

  • The description will be harvested so please provide a "nearly-ready" text for the final changelog
  • If possible, add a nice illustration of the feature. Only the first one in the description will be harvested (GIF accepted as well)
  • If you can, it's better to give credits to your sponsor, see below for different formats.

You can edit the description.

Format available for credits
  • Funded by NAME
  • Funded by URL
  • Funded by NAME URL
  • Sponsored by NAME
  • Sponsored by URL
  • Sponsored by NAME URL

Thank you!

@troopa81
Copy link
Contributor Author

@nyalldawson @nirvn May I have a review for this last CMYK PR so CMYK support is complete in 3.40 🙏 ?

@nyalldawson
Copy link
Collaborator

@troopa81 I'm on holidays for the rest of the week, I'll get back to reviews next week 👍

@troopa81
Copy link
Contributor Author

@troopa81 I'm on holidays for the rest of the week, I'll get back to reviews next week

Thanks! Enjoy your holidays!

@nyalldawson nyalldawson merged commit d98b3b7 into qgis:master Oct 1, 2024
36 checks passed
DelazJ added a commit to qgis/QGIS-Documentation that referenced this pull request Oct 2, 2024
@zacharlie zacharlie added ChangelogHarvested This PR description has been harvested in the Changelog already. and removed Changelog Items that are queued to appear in the visual changelog - remove after harvesting labels Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ChangelogHarvested This PR description has been harvested in the Changelog already. Expressions Related to the QGIS expression engine or specific expression functions Feature Freeze Exempt Feature Freeze exemption granted
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants